/*
 * @Author: 烟浮
 * @Date: 2022-06-18 14:36:38
 * @LastEditTime: 2022-06-18 17:02:41
 * @LastEditors: 锦墨涵秋 275740441@qq.com
 * @FilePath: /vite-haiwai/src/service/request/config.ts
 */
let BASE_URL = ''
const TIME_OUT = 10000

// BASE_URL 开发环境、生产环境的配置
if (process.env.NODE_ENV === 'development') {
  BASE_URL = 'http://10.1.11.140/api'
} else if (process.env.NODE_ENV === 'production') {
  BASE_URL = 'http://10.1.11.140/api'
}

export { BASE_URL, TIME_OUT }
